// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import Element from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css';
import './assets/css/styles.scss'
import store from './store'
import common from './httpConfig/common'

Vue.prototype.$ajax = common
Vue.use(Element)
Vue.config.productionTip = false
import Components from './components' //公共组件
Vue.use(Components)
/* eslint-disable no-new */
new Vue({
  el: '#app',
  //不要忘了挂载router
  router,
  store,
  render: h => h(App)
})
